It is the immorality of the people. If the parents cared they wouldn't buy clothing from stores that sell inappropriate clothing. That store then would lose business and go under.
It is clearly up to the parents to decide. They can easily find suitable clothing for a child from another store. Parents are weak these days and spoil their children.
You can only change society by changing values.