Some ships are so heavy, most waves don’t affect them. It’s usually the rolling waves that make them move around at sea. The carrier I was on, Shangri-La, was actually built in three sections that were connected by hinges. This kept the keel from breaking if the front section was on top of one roll, and the back section was on another, leaving the middle section in the trough. When we were at anchor, the waves seemed to go up and down with the ship seemingly setting on the bottom. Made some moves from ship to liberty boat, and vice versa, dicey.