It is called surging.
The mower runs short of fuel and starts to slow down so the governor opens the throttle wide and the engine picks up speed then the fuel level in the float bowl drops and the engine drops speed so the governor opens up the throttle again.
99,99% of the time is is because there is a blockage in the fuel supply.
Time to remove the carb and clean it , drain the fuel tank ( checking for water ) replace the fuel filter.
check the fuel tank for debris blocking off the fuel outlet.
There is a slim chance that the fuel pump is not working properly but most that get replaced are perfectly good as they rarely give problems.