Ribs moves upwards and outwards when we-
inhale
The ribs create more space for the lungs by moving outwards and upwards. When you breathe in, or inhale, your diaphragm contracts (tightens) and moves downward. This increases the space in your chest cavity, for the lungs to expand.