Potty training question

He

So my 3yr old was doing great with potty training. She would know when she had to go and take herself and call when she needed to be wiped. But all of a sudden out of the blue she doesn’t want to wear underwear and only wants her pull ups (she wears these at night). Now she’s wearing the pull ups and isn’t even trying to go to the potty. She’s pooping and peeing in them like they are diapers. When we ask her why she isn’t going potty she says it’s because she’s a baby not a big girl. I’m wondering if this has anything to do with her baby sister getting a lot of attention? She also has been very whiny and crying over little things. I dunno what is going on. Or how to get her back to going on the potty. Anyone have any advice?