It's super illegal for any employer to tell an employee they aren't allowed to discuss wages.
$1Make sure your coworker starts documenting EVERYTHING from this point onwards. All call logs, all conversations, full names and dates for everything. All 50 US States are at-will states, and I don't want to fearmonger but with an entry level job like this, there's always the fear that a vindictive manager will retaliate for something like this. I saw in another comment you stated that they already called Ethics, but they may want to prepare to speak with the NLRB too.