Playing in column 4 (landing at row 4) prevents X from placing there and forming three in a row on row 4, while not missing any immediate winning move for O. It also limits X’s next opportunity to build a strong threat on that middle row.