It seems like there should be a system of bent trim coil pieces (aluminum trim coil color matched) to be the flashing plus caulking at minimum around the gap. I thought at first the metal ribs should be cut lower and higher so the window flange can sit closer to flush, but that would put the edges of raw ferrous metal out in the weather. Even a drip cap would have this issue in a small way. The wall metal could be cut higher and a drip cap lapped up and under, but the raw-cut metal on the sidewall metal would still be exposed. Seems like touch-up paint of some sort should be used to mitigate rusting.