Sounds like they're just having fun floating and let too much air in! It'll prevent them from staying down in the water, and it's common for juveniles from what I've read.
This site explains it better than I can. "Lastly, floating. Axolotls will float just for fun, and often swallow air, and are unable to come down for a while. This can easily be mistaken for constipation. I like to check this by blowing on my floating lotl, to give them a wee fright, and they swim back down. If they can’t stay down, then you can keep an eye on them. They may float a lot, and it is easy to get worried, but sometimes they just like it, especially if the water flow from your filter is low. If you see them constantly unable to stay down, and their back legs keep floating upwards, they might be constipated, and you can try a trip to the fridge if you are worried!" Here's
another post on the forum about it, looks like if it's caused by the air, you should fridge it to help get rid of the gas!