The units work themselves into a corner, and get them selves stuck. Also they literally dig the floor out from under their buddies.
Steps to replicate.
Mine Level 1
Mine Level 0 : directly beneath level 1 keeping floor intact
Build only floor of the building on level 1.
Screen shots: stuck sad units.