Zend certified PHP/Magento developer

WIREGUARD server enabling breaks SSH tunnel

enabling the following wireguard config file breaks all ssh connectivity to the host. I have to reinstall everything to get back connectivity because it is headless. why is this happening?

sudo nmcli connection import type wireguard file wg0.conf

config file

[Interface]
ListenPort = 51820
PrivateKey = redacted
Address = 10.10.1.1/24
SaveConfig = true
PostUp = ufw route allow in on wg0 out on eth0
PostUp = iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
PreDown = ufw route delete allow in on wg0 out on eth0
PreDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

[Peer]
#Pi
PublicKey = ucZbEdVCWjFIxN1QqK50xK0RgMZKqdTFQ=
AllowedIPs = 10.10.1.2/24, 192.168.1.0/24, 192.168.1.0/24

[Peer]
#phone
PublicKey = WEyIjSkWGE8GiUoozaXoeqSZau5g4ho/3k=
AllowedIPs = 10.10.1.3/24

[Peer]
#laptop
PublicKey = TL3CgHTsroJ0qIFdkxs9U/feGCg/VUGf5XU=
AllowedIPs = 10.10.1.4/24, 192.168.1.0/24