The UVB portion of sunlight indirectly increases dopamine levels. You find it mainly near noon-day sunlight, and tanning beds. So the feel-good effects may encourage users to come back for more.

Frequent tanning bed users all have this addict level rationalization for using them when everyone knows it's harmful.