Please see the work below.
Work Step by Step
We know that a centrifugal force is acting on the cork as well as water in the rotating container. As the density of water is greater than that of the cork, the centrifugal force on it is higher. Thus, more water is pulled away from the center of the container and the cork moves towards the center.