Newborn cries INSTANTLY after i put her down

Can someone help?

I work from home, and for the past two days, I haven’t been able to work properly because my little one refuses to be put down. She’s 5 weeks old. Until now, she used to sleep fine after I put her down, but now, even if I hold her for 30 minutes until she’s deeply asleep, she cries the moment I put her down. I’m not sure if there’s something wrong with how I’m putting her down or if it’s because I’ve been holding her a lot more over the past week.

Our routine is that in the morning, after her wake window, I just carry her even while she sleeps. In the afternoon, I put her down in her crib when she naps so I can work. We had a good rhythm like this, but suddenly, she didn’t want to be put down even in the afternoons. Any advice?