PC manufacturers normally add it to the PCs that ship with a DVD or Blu-ray drive, often including Cyberlink, Roxio or similar third-party software.
Microsoft has usually avoided providing software to play DVDs, because it has to pay a licensing fee to include it in the operating system. What do I need to do to watch a DVD in Windows 10? It was disabled when I upgraded from Windows 7.