Hi,
Please confirm that you have gateway transit settings configured properly on the peerings. Article below details the settings for each peering. When reading the article, "Hub-RM" is your vnetA and "Spoke-RM" is your vnetB.
Configure VPN gateway transit for virtual network peering
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
If you are unsure about something please add a comment below with details/screenshots and I will assist.
Thanks.
-TP