When AI Goes Wrong in Spatial Reasoning