What causes days to be warmer on one part of earth than on another

A) the rotation of earth
B) the angle at which the sun strike earth
C) the speed of earth in it orbit
D) the number of cars on the road

B) the angle at which the sun strikes Earth