Why the displacement option in the material panel is missing?
The Settings panel from your first screenshot is from the Cycles render engine. The second screenshot shows a project where Eevee is the current render engine.

The render engine can be changed in the Render Properties tab.