My RB Angie was the sweetest little girl. She wouldn't hurt a fly. However, sometimes when she was sleeping and I'd pet her she'd wake up and try to nip me. Then she would realize what was going on and she'd give me the “I'm sorry” face. I think she had a bad start of life and it traumatized her.
Don't worry, it's normal. You just startled the puppy.