Mainly the cleansing base. Gels are clear and thin and rinse very clean, while cream washes are opaque and carry more emollients, and castile formulas are olive-oil-based true soaps, which run more alkaline. A mild shower gel generally pairs a gentle surfactant base with little or no fragrance.
Both are surfactant cleansers, so in a pinch either will clean. They are formulated for different purposes though: shampoo is built to lift scalp oil without weighing hair down, and body wash usually carries more emollients. Using body wash on hair regularly tends to leave it feeling coated.
Skin's surface is mildly acidic. Cleansers formulated near that range are generally better tolerated by dry and sensitive skin, whereas true soaps are alkaline and can leave skin feeling tight. Products describing themselves as pH balanced are referring to this.
Fragrance-free rather than unscented, a short ingredient list, and a mild surfactant base. Products for children are usually formulated to sting the eyes less, but tear-free is a formulation goal rather than a guarantee, so keep suds away from eyes.
They contain either physical scrub particles or chemical exfoliants such as salicylic or glycolic acid. Occasional use suits most people; daily use commonly leads to irritation, particularly on dry skin. Avoid using them on broken, sunburnt or freshly shaved skin.