Enemies make splashing sound when dying above(not on) water

I killed these 2 enemies at the edge of the platform, 2 stories above the water and when they died, over water, they made a splashing sound. It looks like the only the X value is calculated and not the Y.