How does PAYE actually work?
PAYE collects income tax and National Insurance every time you are paid rather than in one bill at the end of the year. Your employer looks at your tax code, applies the slice of personal allowance that belongs to that pay period, then works the remaining pay through the bands. Because the system runs cumulatively, each payslip also looks back at everything paid so far in the year. That is why a month with a bonus can be followed by a quieter month where the deduction settles down again. If your pay is steady, the deductions barely move. If it swings, PAYE keeps adjusting until the year end totals line up.