DIAGNOSIS That’s a mechanical noise, almost always coming from the print head carriage assembly. It’s likely the carriage is dragging on something or the plastic gear train that moves it has a damaged tooth or a foreign object caught in it.
FIX Power off and unplug the printer. Open the front cover. Look closely at the silver rod (the guide rail) the carriage slides on. If it’s dry or has debris, wipe it clean with a dry lint-free cloth. Then, apply one tiny drop of plain white lithium grease (not oil, not WD-40) to a cloth and wipe it onto the rail to lubricate it. Manually move the carriage back and forth a few times to spread the grease.
IF THAT DIDN'T WORK The noise might be from the belt or gears at the left end of the carriage. Shine a light there and look for a broken plastic gear tooth or a piece of paper debris. If you see physical damage to a gear, the mechanism will likely need professional service.
HEADS UP That grinding noise can eventually cause the printer to throw a 5100 or 6000 error. Catching it early with cleaning and lubrication can prevent a full lock-up. If you use grease, use an extremely small amount—excess can attract more dust and make things worse.