sentence: If the sun was causing the Earth to warm up, it would warm both the surface and high up in the air.
modified: fix grammar: If the sun was causing the Earth to warming up, it would warm both the surface and high up in the air.