Term: forbidden fruit mentality
Example: i went to a nudist resort for the first time last week and lost my forbidden fruit mentality while i was there
Definition: the mentality in which a person shames or sexualizes the unclothed human body regardless of context or climate for any reason