Maybe it is because you have left the solution in the open air for too long, or the ingredients are old and they would expire/spoil soon. If you are using store-bought solution, then maybe the solution is old, so you could throw it away. If you made it yourself, then maybe the reason would be the liquid soap is old.