The most dangerous thing about email is that it can send you to a malicious website. The troublesome thing is that you can’t (in general) choose who sends you emails. Ads are similar, you may choose to visit a site that you trust, but you don’t choose the ads that are served by that site to you and these ads can be malicious. The site owners that you trust may not even know the ads that are being served to their visitors.