Are ford dealerships true to say that parts need programing to be installed?

I have a ford fusion that I bought as a repairable and the radio didn't work, so I bought a new one on eBay (the cd player) and now the radio and cd player works. However now my SYNC is not working. However I cat with ford and they think they know what it is but that it needs to be programed for the car. Like is that their way to say don't buy the part on eBay for half price then what we would charge? I mean the guy said that he doesn't see many plug and play parts in cars, but my cd player just worked when i plugged it in.

Some parts do, some part don't. As far as radio, some requires a security code for it to work, since it was from a different car, it needs to match the VIN number to work that may require some programming.

This is to discourage thieves from stealing car radios and selling them on E-Bay since it would not be that easy to make it work on a different car.

Yes, Sync needs programming to work with your new replacement radio. The CD doesn't need to work with Sync, but Sync does need to work with the radio.