unable to connect machines

the problem was that i had two vpn s opened, one from tryhackme and one from hackthebox, for that reason the traffic (from hackthebox machine) was tunneled through tryhackme s vpn