The Ravens have lost a couple of starting offensive linemen to injury. They’ve also lost one of their best defensive players to an ejection.
Judon swung his arm hard while a post-play fracas was being broken up, and he hit an official who was close to him. (It almost looks like the official embellished a bit.)
Regardless, contact was made. In those situations, ejection becomes automatic.