I need your thoughts- LO took pacifier after two months

An

I need your thoughts guys! My little girl is turning 2 months tomorrow and up until today she has always refused the pacifier and bottles (even when there was pumped breastmilk in there). So I've always exclusively breastfeed her. The past two nights she's been very irritable and when she's like this, my go to is to nurse her, but this time around she gets even more angry once I put her in a breastfeeding position. She'll scream, cry, kick and claw at my boobs. But she'll continue to suck her hands furiously as if Shes starving. Anyway, I figured to try the pacifier again and to my surprise, she actually took it! I don't understand why? Why is she sucking her hands so much but refusing to nurse and deciding to take a pacifier?!