The gases in the air attracted to earth by gravity form layers called the ____