I'm remembering correctly that you are running RasPi OS Lite (Bookworm), yes? I haven't run ROS in years, I ran FreeBSD for a long while then moved to AlmaLinux. Having just searched it up, it seems after deprecating dhcpcd in Bullseye, they (Raspberry Pi Foundation) moved to a weird mix of Netplan and NetworkManager. There's a YAML on the /boot that can init the network using NM via Netplan, but it's all very unnecessarily complicated and convoluted. You could just set up systemd-networkd and disable everything else, or just set up a static IP via nmtui (graphical in console) or nmcli. Just to confirm, what's the output of systemctl status NetworkManager
?