Accessing siteA works as expected, accessing siteB Caddy seems to pick the certificate for siteA - which of course will result in an error on the client side.
Can you please provide your unedited caddyfile without reacted sitenames (they are available in CT logs and not sensitive) it is not possible to debug without unedited caddyfile.