Wireguard uses both TCP and UDP depending on the situation. Wireguard uses UDP for sending traffic between the VPN nodes or uses TCP to work better through firewalls if necessary.