WiFi calling uses an 802.11 connection nearby, instead of a cell tower, and sends UDP packets over the WiFi network. (I don't know how far they transit the Internet; I assumed that they went to your mobile provider and entered the PSTN there.)
https://en.wikipedia.org/wiki/Generic_Access_Network
In this scenario, your "home country SIM" is providing you a phone number and provider's authorization to activate and use WiFi calling, but your voice calls aren't actually using the SIM or a cell tower.
Neither is your "holiday SIM" using data for this call: you're free to use that data allowance for browsing, streaming, general Internet use; it won't be taken up by phone calls.
This is because your home carrier basically VPN's to your home carrier's network over whatever data connection it has, so it's just using the cheap international data off the second card to make a VOIP call.