It's not that your snake is being friendly. More like he's being a Ball Python. They are very shy and timid animals, but they still need their space sometimes.