The timestream was changed by sending a Doomsday Machine back in time. There,...
Star Trek Phase II
Season 1 Episode 10: The Holiest Thing
Captain Kirk and the Enterprise investigate the devastation of Lappa III, apparently by the terraforming efforts of Dr. Carol Marcus.