When a player is riding a boat, attempting to launch it upward with a slime block produces inconsistent results in which the boat often does not launch.
To reproduce this bug, place a boat on top of a slime block and piston, and then attempt to launch it upwards with and without sitting inside.
Environment
1.21.5 Java Edition, vanilla singleplayer
The same happens with horses and other rideable entities.