In my youth, when I attended church, there were expectation with regard to dress to attend mass, and this was stepped up during the sacraments.
I could never reconcile what one wears with how devoted one is to God or how one worships or why God would care given one came into this world naked...