Smart trainer not in sync with terrain

I’m fairly new to zwift and racing. But today, for the second time racing my smart trainer seems totally out of line with the actual terrain. So while the others fought the uphills, I tried to gain watts on what surely felt like downhills. Do anyone know what the reason for this ‘out of sync’ could be caused by?