Different body construction, dimensions, number of frets, fretboard wood, bridge, tuners, pickups, factory etc. Simplifying it by saying one Yamaha 5 string is a bolt on version of another Yamaha 5 string made decades ago is too broad for me but if you want to generalise it like that it could be valid from a certain point of view.