Baby won’t nap anymore

My baby just turned 10 months yesterday, and for the past couple weeks he’s been so cranky during the day and won’t take a single nap. I know he’s tired because he’s rubbing his eyes and yawning. But as soon as I lay him down, he just screams and cries the entire time until I go get him. I always feed him and change him before he goes down.

Once I get him he stops right away. He never used to be like this, he always used to nap for a couple hours with no problems.

Is this a phase or?