The bug
Standing inside a block or having a gravity enabled block fall on you triggers the elytra animation and pulls you down into suffocation.
Standing inside a block or having a gravity enabled block fall on you triggers the elytra animation and pulls you down into suffocation.
This is also activated by being within a doorway when the door closes. No suffocation damage is taken in this case, but it looks strange visually.