If park works, you have a transmission issue.
If it rolls in park, transfer case getting bumped into neutral is super common. There have been people who have had the transmission rebuilt because they though the transmission was bad when it was in neutral.
Also shift linkage, but most people will feel this being wrong and already know to look there. The collar on the shifter (pot metal breaking) is common a well as the rubber bushings on the rods falling apart letting the rod fall out.
Manual transmission has other options, but transfer case in neutral is super common.
Being it was just pushed into the driveway, whoever was helping you push probably looked at the first shifter they saw (transfer case) and wiggled that into neutral so it would roll.