Thread is a wireless standard meant to sit next to Bluetooth and WiFi.
Matter is a home automation protocol can that be used over Thread or WiFi. Ideal Matter devices use Thread instead of WiFi because running a bunch of home devices like light bulbs or switches on your WiFi is a recipe for disaster.
Matter is important because it provides native compatibility among different platforms.