The short answer is yes, it's possible for your dog to feel upset.
But here's The good news: your dog isn't mad "at" you in The way that you're imagining.
According to PetMD, while dogs definitely feel emotions, they don't associate blame with those emotions.