For a very in-depth (and quite complex explanation) of how directional couplers can measure VSWR or forward and reflected power on a transmission line see this excellent article:
Notes on Directional Couplers for HF
https://k6jca.blogspot.com/2015/01/notes-on-directional-couplers-for-hf.html