By the rulebook those are probably* both fouls, but in practice are not called most of the time, especially at the end of the game.Didn't get called, therefore it isn't a foul.
Heck, how many times a season do we see 'intentional' fouls (to send someone to the FT line/regain possession) not called?
*the arm "grab" is hard to tell without seeing it in real time; actually both are.