The curiosity of cats often lulls their vigilance and plays a wicked joke on them. Like, for example, with the red fur from this video, who for some reason climbed into the basin and wanted to look out the window.
But the increased interest in what is behind the glass forced the cat to miscalculate and lock himself in the same unhappy basin. It's good that the owner was nearby, who not only watched the cat's improvisation, but also filmed it.