When a player takes damage, their hearts above their hotbar flash with a white outline and the hearts that were dealt as damage flash with a slightly less opaque color. However, freezing hearts only flash with a white outline and the hearts that were dealt as damage just disappear.
Duplicate of MC-206881. Shoot.