Humor makes things easier to remember. It connects the brand with the positive feelings created by the ad.
Research:
Studies have shown that up to 30% of all advertisements are based on humor because comedy is so good at grabbing attention, making people forget they're being sold to, and evoke positive emotions.