With your advertising, you want to trigger a certain emotion in the viewer. This works reliably with the right music and the right images - and then this emotion also remains easily in the viewer's memory.
Many commercials use appropriate music to create feelings of security or occasionally excitement in the viewer.
Mostly, however, positive and "non-stressful" music is used to create a positive feeling, which is then also to be associated with the product or brand shown.