If you push a golem out of an enclosure with a height of 2 blocks and a width of 1 by 3, the golem will pass through the blocks.
Environment
aviary 2 by 3 by 1
Linked issues
duplicates 1
Attachments
Comments 2
Since you used a spawn egg, this issue will be resolved as a duplicate of MC-103934.
Can confirm for 1.21.6 Pre-Release 4