Welcome to FishLore! It's great to have you with us!
Try shutting your filter off while you feed your fish, or if possible, turn the flow down. Also, unless you have babies in the tank, it's not necessary to feed the fish twice a day. Try cutting back to once a day and see if that helps. If they are spitting the food out, they probably don't like it. Try soaking it in garlic juice to see if that will help with the taste. As far as I know, flake food is what most folks feed their mollys. If the garlic doesn't help, try feeding them The Omega One brand or the New Life Spectrum brand of flakes and see if that gets them to eating better. These 2 brands are your better foods, and fish seem to like them.
You also need to do a good gravel vac of your tank now. Vacuum about half your gravel, and in a few days, vacuum the other half. You need to get the ammonia down now for your fishie's sake. What is the current level? If the gravel vac doesn't help get it down below 1, you will have to do a large water change. You can also get some amquel plus to use as your water conditioner until this issue is resolved. The amquel plus will neutralize the ammonia, nitrites and nitrates, and reduce the stress on your fish. Make sure you get the plus type.