You’re missing a couple of key points.  First of all, the Pirates lead MLB in HBP.  That’s not an accident.  They crowd the plate.

Second, Marquez hit batters in situations when it was clear that he was hurting himself and the team by doing so.  It’s pretty much acknowledged by those involved that they were not on purpose.  Kuhl’s pitch inside on Cargo was intentional, and everyone knew it.