All mobs can randomly look at Creative Mode players. Only for a few seconds, and then they look away.
However, Pillagers just keep staring at you and never look away.
How to test this:
Change gamemode to creative.
Spawn a Pig, a creeper or a villager for example.
See how it looks at you, and also looks away.
Then test with a Pillager. The Pillager keeps staring at the player without ever looking away
Duplicate of MC-94524