For Molecular Orbital Diagrams in the 2nd period of the periodic table, we must consider how the p orbitals interact, or mix with, the s orbitals. This will have an impact on the resulting molecular orbital diagrams.
9.7 2nd Row Diatomic Molecular Orbital Diagrams