The bug
If "Sneak" in the accessibility settings menu is set to "Toggle", the player starts sneaking when dismounting an entity, such as a boat, a minecart, or a horse.
To reproduce
Set "Sneak" to "Toggle" in the accessibility menu
Make sure that you are not crouching
Mount any mountable entity, such as a boat
Press sneak
→ ❌ The player starts sneaking
Confirmed in 1.16-pre2.