Anomalous interaction of spectral modes in a semiconductor laser