Most likley because you stopped the wrong service. You should have stopped the relevant timer service, not the service that the timer starts.
FTFY. Helps keeping them apart to not use the same word for both ;)
systemctl disable --now unattended-upgrades.timer;
systemctl disable --now unattended-upgrades.service
No need to uninstall or mask.