The player will start crawling if its head is in a trapdoor, fence gate, or even a block pushed by a piston.
Linked issues
is duplicated by 78
73 more links
The player will start crawling if its head is in a trapdoor, fence gate, or even a block pushed by a piston.
This is almost certainly intentional - there's otherwise no real easy way to enter crawling mode.