Can See works by first checking the angle/distance, and finally casting a ray to see if any objects are blocking the target. In this case the ray is being cast between the pivot positions of the two objects which is likely at the ground. You can change the offset/target offset on the task which will change where the ray is cast.