Programming XIAO nRF52840 using nRF Connect and devkit J-link

I have seen your thread. I understood the connection of ppk2 with battery(gnd and Vin) but i am confused as why did you connect +ve and -ve terminal of Xiao with Vout and Gnd of PPK2 ; why not use 5v and GND of Xiao instead? Can you clear my confusion?