This issue clones: MC-139703.
Under certain circumstances, pillagers arms may intersect their head or they will appear to be dabbing while they are aiming at the player for no reason. This can most easily be reproduced with a water stream pushing a pillager perpendicular to the player as seen in the screenshot.
This appears to be a case of MC-139528.