Trash tack is bad behavior. It's only for the purpose of distracting you and negatively influencing your mood. Do not make the mistake to get involved. Just ignore it and try not to take the player off the table at all costs with marginal
hands or preflop all in with premium hands. Otherwise most will fold and you can not generate value from your good hand / premium hand.
It only shows how awkward and stupid a player is. He is also much too emotional at the poker table. Then he doesn´t play rationally or mathematically but aggressively preflop all in or raises against you to annoy or upset you.
Stay calm, do not be distracted and make rational decisions. If you get involved in this distraction, your A-Game suffers very quickly.
An immature and childish behavior. It only shows the weakness of the one who scolds. It also draws attention to its weaknesses and shortcomings. This should not distract you as a player. Poker is a strategy game and with negative emotions you will not get far.
Some players lose a lot of money through wrong decisions, they exceed their limit or are drunk. Then enormous pressure builds up. This shows through aggressive and brash behavior. They often seek the blame of a player who acts as a mining valve. Ridiculous and poor.