Update 1/12/23: It turns out that this is a Microsoft bug. After not finding the answer here, I put in a support ticket and they are currently trying to fix it on their end. (not fixed yet though)
I am unable to import a solution from one environment to another due to different Dynamics 365 apps versions.