I think the public at large radically overestimates the snakes' intelligence - and humanizes the heck out of them.
This is both the source of how 'sad' it is to keep them in tanks and tubs, AND the fear of them and seemingly burning desire to kill everyone they run across. They attribute all kinds of motives and thought processes to them that snakes just aren't capable of.