Playing in column 5 blocks opponent's potential horizontal win with their two X pieces in the middle row. This is the most immediate threat that needs to be addressed. Additionally, this move doesn't create any obvious winning opportunities for the opponent.