Apologize and take responsibility for your careless actions. It will make her feel better when you let her know you did something wrong and you feel about it, in turn, it will make you feel better by making her feel better.
Say sorry to her and give her a hug. You will both feel better afterwards. Hard sometimes but worth it to repair the relationship.