Osmosis is the process of the solvent moving from a less concentrated solution to a high concentrated one.
Here, ocean water has 3.5 % salt and marine fish has 1% salt in its body which means that ocean water has higher concentration of salt. Hence, water will follow the concentration gradient and move out of the fish.