Bad eggs float in water because as an egg ages, moisture evaporates through the shell, causing the air cell inside to enlarge, making the egg less dense than water and thus buoyant;essentially, the larger air pocket acts like a flotation device, allowing the egg to float.