Thread is a network layer thing, comparable to WiFi or Bluetooth. Matter is an application later thing, comparable to HomeKit or Google home.
Zigbee is both network and application layer.
This article has a decent overview https://www.smarthomeperfected.com/zigbee-vs-thread/