If you want to use Maxwell's equations, at the action, where everything is happening right here at the surface between the two, you will have to decompose the incoming light, the electric field vector in two directions. 