Matter would be correctly the application layer protocol of thread and could be spoken over any transport. Like HTTP