Shulkers with shells closed still take damage from snowballs and other shulker bullets
Shulkers with shells closed take damage/flash red when hit by snowballs, eggs or other shulker bullets. This is unlike arrows and tridents, which bounce off and deal no damage.