A block of iron sinks in fluid A but floats in another liquid B, this is because:
Density of fluid A < Density of fluid B
A block of iron sinks in the fluid A because the density of the iron is greater than the density of the liquid A but, the block of iron floats in the liquid B because the density of iron is less than the density of the liquid B.