There are some issues that will be contributing factors though not necessarily directly responsible for the fairly rapid deaths.
First involves water parameters, which are GH, KH (Alkalinity), pH and temperature. The GH is certainly a problem for mollies, they must have harder water. GH here is 120 ppm (= 6 dH) but it should be no less than 240 ppm (= 12 dH) or higher. Since the mollies have died, do not get any more once this issue is resolved because they will not be in good shape in water this soft.
Re the API Stress Coat, here again not likely to kill them unless it was overdosed, but aloe vera is likely trouble for fish gills and it also affects the Oxygen balance, so change to another conditioner going forward. If all your tap water has is chlorine or chloramine, the best to use is API's Tap Water Conditioner. If there is ammonia, nitrite or nitrate in the tap water (on its own), another conditioner might be advisable, but this one is basic and very effective, and you use very little. Never over-dose conditioners, they are not as "safe" as some think.
Third point, when you get stores to do water tests, always insist they give you the number. What they consider "good" may be far from it.
Fourth, many fish, especially mass-produced fish like common livebearers are anything but healthy. There can be genetic issues, internal pathogens, or injury from netting and bagging the fish.
A 10g ios too small a tank for mollies even if the water was suited. Have a look at soft water fish, like the tetras and rasboras. Some will be OK in this sized tank, but ask on the forum before acquiring. These fish are shoaling and they must have a group of several of them.