Are there reasons why tanning parlors aren’t good for you?

Actually, you’re both partly right. A tan acquired gradually, whether from a tanning parlor or on the beach, does somewhat protect against sunburn, which is good. But even gradually-acquired tans are unhealthy because, in order to tan, a person has had enough exposure to sun to induce changes in the DNA in skin cells, that can lead to cancer.