When they're in the ships their arms and hair don't float up either
Why would their arms "float up," as long as they were conscious and able to control their position? Besides, one of the most pervasive mistakes TV and movies make is treating free fall like floating in water, assuming some kind of buoyant force that pulls things upward, when the whole point is that there's no force pulling in any direction and things just stay where they are until they're moved.
And they all have short haircuts that are sensible for variable gravity, or else they wear long hair in tightly bound styles.
, so you could take the Defying Gravity TV show approach and say that they have magnetic particles in their hair and magnetic fibers in their clothing as well, which besides serving the purpose of anchoring them down, could also keep their muscles from atrophying, since these people are spending weeks or months or years in zero-g despite most of them growing up on planets, moons, asteroids, and spinning stations.
The "magnetic particles" thing from that show was really, really stupid. It has some of the same problems as
The Expanse's magnetic boots -- such strong magnetic fields would be harmful for shipboard electronics, and it's a whole lot easier to move in free fall
without sticking yourself artificially to the floor. As long as you have handholds in easy reach (and any free fall living/working space would be designed so that you did), it's enormously easier and more efficient just to float (so to speak). Also, magnetic
particles in particular would be terrible. They'd get into everything, they'd short out sensitive equipment and clog up air filters, you'd inhale them, just ugghh.
Besides, magnetism is subject to the inverse square law. If the source of the magnetic pull were, say, 5 cm below the floor, then if you were c. 175 cm tall, any "magnetic particles" in your hair would be subjected to less than a thousandth of the magnetic attraction that the soles of your boots would feel. And magnetic fibers in your sleeves or whatever would feel only a few hundredths as strong a pull. It would be completely ineffectual.
The only reason
Defying Gravity came up with such an inane idea was that they wanted an excuse for their cast to have glamorous hairdos. That was a really dumb show. It made a token effort at scientific plausibility, but did it so sloppily and half-heartedly that it was worse than if they'd just gone for straight-up fantasy. I mean, the ship in that show had a rotating habitat section, so it's not like they needed to invent some more fanciful form of simulated weight.