Maybe they were “atheist” shorts?

Not a good idea to be an atheist in the moderate Muslim nation of Indonesia…or to wear shorts.
An Indonesian civil servant who posted “God does not exist” on his Facebook page has been taken into police custody for his own protection after he was badly beaten.

“When we saw women in shorts, we scolded them because, perhaps, it is unfavorable in the eyes of the public and does not conform to public [standards of decency].”