Arduino MKR Wifi 1010 and MKR Ethernet Shield

did you use Ethernet.init to set the right CS pin?
Ethernet.init(5);