The explanation behind this phenomenon is simple - DENSITY! In the Salt Water Egg experiment, you have observed that the egg placed in saltwater floated and the one in tap water didn't. Because saltwater is denser than fresh water, the egg does not end up sinking like it usually does!
In our Salt Water Egg experiment, because the egg is denser than tap water, it pushes away water particles so it can make space for itself hence the sinking motion. But in the case of the salt water, since it is heavier than ordinary tap water, it is more capable of holding the egg up - hence the egg floating. In easier words, objects sink when their own density is greater than the liquid's density.
In our Salt Water Egg experiment, because the egg is denser than tap water, it pushes away water particles so it can make space for itself hence the sinking motion. But in the case of the salt water, since it is heavier than ordinary tap water, it is more capable of holding the egg up - hence the egg floating. In easier words, objects sink when their own density is greater than the liquid's density.