Salesforce Messaging Session Status Changed Event(MsgSessStatusChangedEvent) standard Platform Event can be used to track the Messaging Session Status values changes or to perform some actions.
Make use of Platform Event triggered Flow in Salesforce to listen to the Messaging Session Status Changed Event(MsgSessStatusChangedEvent) standard Platform Events.
If you have any use case to execute some actions when the Status is changed, you can do those processes in the Platform Event triggered Flow in Salesforce.