If he was doing what he was supposed to, throwing at him intentionally which is what you’re suggesting, then yes he should’ve been ejected.
I question throwing at Ohtani in the first place. They thought Anderson intentionally threw at Altuve I take it? Bullshit.