Physical mechanism of layer-dependent strong and weak coupling with electromagnetic wave in 2H-MoS2