I have seen this happen when the "key" on the shaft-to-prop connection is missing. Contributing factor is that the prop nut loosens a bit. With forward pressure, the prop will push against the taper and have enough contact to move the boat. In reverse, it is pulled off the taper at the first motion and the shaft spins without turning the prop. You may find that under some conditions you don't have full forward thrust because the shaft may not lock onto the prop with full load and it will spin and eventually gall the prop or the shaft. I'd pull the boat and find out what is wrong.
It can take a long time for the problem to occur. The boat I saw have the problem had traveled about 250 miles, including several locks, with no problems. The owner was an accomplished boat handler and was backing it into a covered slip, with a hurricane on the way already producing high winds. He had to use high throttle on the starboard engine to pivot properly. Made a mess of it and couldn't figure out why. I happened to be guiding him in and noticed that nothing was happening on the starboard side. I asked him why he hadn't put the transmission in gear on that side and he said he had. Uh oh.....
We later dove on the prop and it free-wheeled on the shaft. The marina had installed the prop with a tight shaft-nut but no key. The nut loosened enough with the travel to allow the prop to slide off the taper in reverse.