Lainey has unfortunately gotten her dad's temperament it seems and throws stuff when she is upset

I am so ticked off she has seen this done (Gareth getting mad at his video game and chucking his controller down etc... always stupid things never really towards us thank goodness but still!) so how do I go about stopping/changing this behavior?!
She also will come up to us or the dog and hit us

and she never sees any of us hitting one another so I am not sure where she got that one