1 month old suddenly started nursing for only 10 min

My baby is 1 month old. He usually nurses for about 45 min, but suddenly started nursing for 10 min and falls asleep and still doesn’t want to nurse when I wake him and this is after 3-4 hours of him sleeping before nursing. Did anyone else’s baby through this or should I call his pediatrician?