When the weather turned bad at sea, the constant rolling of the rough water caused a rocking motion that brought on seasickness.
Those passengers affected were taken below deck, because the sway diminishes the lower you get on the ship, especially down near the keel.
Those taken below deck because of seasickness were brought “under the weather.”