Why do ocean animals eat plastic?

Why would an apex ocean predator eat gloves? Or rope? Or plastic cups? How does a whale end up with more than 200 pounds of waste in its stomach?