If the water quality is good as you stated by giving them fresh water, the frogs are in bad condition when you got them. Just like when you can buy fish that are not healthy due to the new arrivals delivery and later they die, the same with frogs. floating in aquatic frogs are a sign of death or on the verge of death.

