If you create a transit gateway attachment using the public subnet, the instance traffic is routed to the internet gateway, but the internet gateway drops the traffic because the instances don’t have public IP addresses
Egress Only Internet Gateway is IPv6 only.
https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-nat-igw.html