A compound is a pure substance that consists of two or more elements chemically combined in fixed proportions by mass. Dish soap is not a compound because it is not a pure substance. It is a mixture of several different compounds, including water, surfactants, solvents, and fragrances.
A solution is a homogeneous mixture of two or more substances. Dish soap is not a solution because it is not homogeneous. The different components of dish soap are not evenly distributed throughout the mixture. The surfactants, for example, are concentrated in the bubbles that form when dish soap is agitated in water.
Dish soap is a mixture because it is not a pure substance and it is not homogeneous.