The Nets’ 112-108 loss in Game 4 on Saturday at a frenzied Barclays Center was the boiling point of a testy series with the 76ers that has become more and more heated.

It included another flagrant foul by Joel Embiid and an on-court altercation that spilled into the front row, leaving both Jared Dudley and Jimmy Butler ejected from the game and fined by the league.

Dudley was fined $25,000 by Kiki VanDeWeghe, the league’s executive vice president of basketball operations, for shoving Embiid in response to the 76ers center’s foul on Jarrett Allen with 7:42 left in the third quarter. Butler was fined $15,000 for escalating things further by shoving Dudley.

“Usually KiKi calls you before he fines you,” Dudley tweeted, along with an emoji shrugging his shoulders. “Hopefully the money goes to something for kids or hospitals …”

Tempers had been simmering for some time.

After Embiid threw a Flagrant 1 elbow to Allen’s face in Game 2 that the Nets felt warranted a Flagrant 2 and ejection — then laughed about it with teammate Ben Simmons in the postgame press conference — the Nets took offense.

Embiid committed another Flagrant 1 foul on Allen on Saturday, which prompted Dudley to push him. Butler shoved Dudley in the back, and when Simmons tried to restrain Dudley from going after Embiid both tumbled into the front row.

Dudley and Butler both got tossed from the game, with Nets general manager Sean Marks giving Dudley the highest of high-fives as he was escorted off the court and down the hallway.

Marks was suspended one game without pay and fined $25,000 Sunday for entering the officials’ locker room after the Nets’ loss to Philadelphia in Game 4 of their Eastern Conference first-round playoff series.

Marks will miss Game 5 after a move designed not just to show displeasure with the calls, but to show Nets players the front office had their backs.