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.
- 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