If you allow X to occupy column 5 on the next turn, they would have three in a row (columns 3, 4, 5 in the bottom row) and create a double threat at columns 2 and 6. You must drop O in column 5 now to block that immediate setup.