Macbook Pro not able to boot
I have been having issues booting my mac for the last week and a half. The issue is when I boot the computer, the boot looks good and the cursor is blinking in the password entry box and the mouse is in the center of the screen but I can neither type nor move the mouse. I looked online and found that NVRAM reset should help with this issue and at first it did fix the issue for that session. If the laptop went to sleep or shut down, when waking or turning on, the same problem would persist. Then I tried the NVRAM reboot, reset Startup Disk, Recovery mode, Safe mode,etc., the buttons were not being recognized at all and it just went forwards with the normal reboot where everything is frozen. But every attempt to reboot in a mode resulted in the following 2 screens flashing alternating. They appear after the mac logo and the progress bar goes about half way, then restarts and comes to those screens. Does anyone know what these screens mean and how to reboot my mac so that the reboot is successful and takes input from the trackpad and keyboard?
I should also add this issue was temporarily fixed by rebooting NVRAM so I know for sure the keyboard and trackpad have full function though when the mouse freezes while I am using the computer I am able to press Command+Tab and that unfreezes the mouse.
MacBook Pro 13", macOS 10.15