With a growing subset of YouTube’s users becoming more aware of how the platform is monetized, YouTube appears to be paying greater attention to those with a preference to opt out, whether that’s through browser extensions like uBlock Origin or other methods that require even less effort.
That’s only if you agree to the developer TOS. Invidious doesn’t use the Developer API and as such never agreed to the associated TOS. This is against a terms of service that is not relevant to Invidious.