As ayasmansury said, it is most likely a lack of salt in the water, though there could be other causes, as well.
Mollies are brackish fish, and require at least a small amount of marine salt in their water to remain entirely healthy. (Not table, rock, or "aquarium" salt, but the same salt that...