When the diaphragm contracts, the volume inside the thorax increases. The pressure inside the lungs decreases. Boyle's Law, increased volume decreases the pressure. As the pressure inside the lungs becomes less than atmospheric pressure, a pressure gradient is created. Air flows from an area of high pressure to an area of low pressure. Air enters the lungs.until the pressure inside equals the pressure outside.