internal intercostal muscles contract
external intercostal muscles relax
ribcage move downward and inward, reducing volume of the thorax
diaphragm relaxes, so it is pushed upward, also reducing volume of the thorax
decreased volume in thoracic cavity, so increased pressure
higher pressure inside the thorax than outside and so air is forced out of the lungs down a pressure gradient