Feeling like a bad mom

I feel like such a bad mom. My daughter likes to stay up at night and honestly I get mad at her. I would never hurt her but I say things like, "oh my god go to sleep" "There is no reason for you to be crying right now." "Please go to sleep. Mommy is tired. " I don't yell at her but my tone could probably be better. I love her so much but I'm so tired. I hate that I get angry with a 6 week old.