Mopeds have pedals, hence the ped part of moped. Scooters do not have pedals.
This source is from the UK but applies similarly
https://www.thebikeinsurer.co.uk/learner-guides/scooter-vs-m...
On the other hand, I have seen models with holes next to the transmission that can accept a pair of removable pedals stowed under the seat. Completely worthless for locomotion, but sufficient to be classified as a bicycle for legal reasons.