It's not about funny. I have observed it in dogs and young children. It's about taking action in the world and receiving (any) feedback that your actions have an impact. That's the origin of pranks, negging, playing. It's quite an important development step, imho.