On the behavior of symmetry and phase transitions in a strong electromagnetic field