The correct answer is: C. Due to surface tension.
Surface tension is the tendency of a liquid surface to contract into the smallest possible area. This is caused by the attraction between the molecules of the liquid. The molecules at the surface of the liquid are not surrounded by other liquid molecules on all sides, so they experience a net inward force. This inward force creates a surface tension that pulls the surface of the liquid together.
The surface tension of water is strong enough to support a small object, such as a needle, if the object is placed gently on the surface of the water. The needle will float on the water because the upward force of the surface tension is greater than the weight of the needle.
The other options are incorrect. Option A is incorrect because the needle will remain under the water if it displaces more water than its weight. Option B is incorrect because the density of iron is greater than the density of water. Option D is incorrect because the shape of the needle does not affect its ability to float on water.