Answer:
There were mutations that led to some longer necks and some shorter necks, as the trees became taller, the short necks died out due to starvation, leaving behind only the longer necked giraffes. Survival of the fittest.
5.1m questions
6.7m answers