I would think it's because Xcode uses the implementation of SwiftUI present in the OS to render the preview, which is only present in Catalina and not in Mojave. I presume they didn't think it worth the effort to re-implement SwiftUI rendering within Xcode itself just to support the older OS.