I am taking computer vision course, where I learned about Sobel operator for detecting edges. I somewhat understand how it works as described here. But I have a basic confusion. The operator can be divided along $x$ and $y$ axis (as $G_x$ and $G_y$). But these divided operators are finding derivative along one direction, then why are they 2-dimensional?