Most of of the time, acute compartment syndrome is caused by a broken leg or arm. It comes on rapidly over hours or days.
Pressure from bleeding and swelling caued by the break can bring it on. So can treatment for the fracture, like surgery or a cast.