CarbonPeriod returns duplicate week month [duplicate]

I am formatting the dates of all weeks in a date range that exceeds 1 year using CarbonPeriod:

$period = CarbonPeriod::create('2024-01-01', '1 week', '2025-01-31');

foreach ($period as $date) {
    echo $date->format('W Y') ."rn";
}

dd();

But I am not getting my expected result, it is missing 01 2025.

Instead, it gave me another 01 2024 which is duplicated. That looks wrong to me and I hope someone can explain it.