It serves it's purposes. Onboard Princess ships it increases sales for both drinks, photo's, and hair styles and by unofficially letting their customers decide for themselves what is appropriate.
For CC, it increases the traffic of hits thereby increasing their cash for advertising.
It might be confusing to you, but never the less, true on all the ships we've been on since the return from Covid.
No one is forcing you to wear shorts. It's an option if your choose.