iMovie won't be preinstalled on macOS version 10.15.6 or before. You should download and update your macOS to macOS version 10.15.6 or later if you want to install iMovie.