When its morning in the early phase after the sunrise the sun is (in the east) not at a greater altitude and hence the angle formed is very low and the shadow formed is long at 08:00 AM. So the shadow is on the opposite side and similar in size to that of the shadow at 10:00 AM.