The bug
When skeletons seek shelter from the sun, but there is no nearby shelter, they start drawing their bow to attack the player but stop and continue to walk away.
How to reproduce
Go to a flat area, for example a Void superflat world with a platform
Set the time to day
Spawn some skeletons
Switch to Survival or Adventure mode
Is this still an issue in 19w13a?