Reinstall macOS after factory resetting my 2015 MacBook Air
Hi! I have decided to sell my old 2015 MacBook Air, and so I performed a factory reset on the laptop. However, I am now unable to reinstall macOS from macOS Utilities. After initialling resetting it, my screen popped up with the spinning globe prompting me to do an internet recovery. My computer shut down immediately after connecting to my WiFi network, and when I powered it back on, the prohibitory symbol (circle with dash through it) appeared on the screen. I then followed the steps to press Command + R , in order to access the Disk Utility page. I am now unable to reinstall macOS when I try due to error messages appearing on the screen. I have absolutely no idea how to fix this issue. The laptop was working perfectly fine before I decided to do a factory reset.
Another note, before I did a factory reset on my device, it was running macOS Big Sur, but now when I attempt to reinstall macOS, it shows macOS Sierra and not Big Sur. Why would this be happening?