Why did ancient Greece do the Olympics naked?

as far as I can remember a paricipants loin cloth came off and his father was a politician of high rank and the rest took theirs off as not to make him feel uncomfortable or make him feel insulted, if you can confirm or deny please email me, I cannot remember where I heard this, Thank you