Hi Mitchell,
Floating is a common complaint. How long does your axie remain floating? Also, does your axie sink back down after that? Note that If your axie is suspended on some water plants, that is not floating. Floating is only when it remains on the water surface on its own.
If you did not observe any other signs of stress or illness other than floating, and especially if your axie sinks back down and remain floating for very short periods, i would think its likely to be harmless physiological floating.
Gases may build up in your axies gastrointestinal tract due to diet, ingested air (when it comes to surface to gulp), or due to the breakdown/digestion of ingested material. This air would make your axie more bouyant and makes it require more effort to swim back down. However, this air also escapes rather easily, from pooping and also from the mouth (much like burping). Once the air escapes, your axie will tend to sink back down.
You can try varying the axies diet by offering a large variety of food types. Some axies tend to react more 'gasily' to certain food types compared to others.
If you find your axie stressing out (due to floating) or if you are worried of more insidious malignant conditions like diseases, you can fridge your axie as Kerry suggested.
Cheers.