ENS160 stops working after LoRa module is power-cycled

You should never change wiring while a system is powered.

Nor should you ever connect unpowered modules to powered modules via I/O pins. That can lead to the destruction or malfunction of either module.