Cupping occurs when moisture causes board edges to rise higher than the center, usually from excess humidity or water beneath the floor.