The NBA instituted a rule change this season in an effort to limit the prolonged standing of bench players and coaches while preventing the crowding of the sideline (h/t Ira Winderman).
A team will first receive a warning, followed by a delay-of-game warning. Then the team will be penalized with a technical foul.
Teams will also be called for an unsportsmanlike technical for bench players who enter the court or make a “distracting” move towards play.