Something is funny because it’s wrong. Wrongness can only be appreciated if there is a developed sense of rightness. So expectations may be dashed. A dog does not think a man slipping on a banana peel is funny because a dog does not have any expectation that this man was not supposed to slip on the banana peel.