I believe that they jump in the wild, if it is the dry season and their water area gets too small... I could be wrong, so don't quote me on that!
This is exactly why I cringe when I see a betta in an open top container. While it's pretty, I'd be absolutely paranoid about it.
The only cure for ignorance is education, and bullying or attacking someone is no way to educate them.