Muscles sit in tight sleeves of fascia. If swelling builds up inside, the pressure has nowhere to go and squeezes off the blood supply.
Compartment syndrome is a surgical emergency: pressure rises in a closed muscle compartment and cuts off blood flow. It follows fractures (especially tibial shaft and supracondylar humerus), crush injuries and tight casts. The earliest sign is severe pain on passive movement, and a palpable pulse doesn't rule it out. A compartment pressure over 40 mmHg is diagnostic. Treatment is urgent fasciotomy, because muscle can die within 4–6 hours.