There is very little you can do as a Scrum Master, or they can do as a team, if their company treated them in a way that made it clear they are just numbers to be pushed around on an organization chart.
People act the way you treat them. Treat them shitty and they will act shitty towards you.
This is not your fault, but that also means you cannot really fix it.
You can wait some time for them to get used to the new situation and figure out whether they can motivate themselves or whether they want to find a new job.
After some time and maybe some leaves, you can find out what would motivate the remaining people, but if management really screwed this up, be prepared to hear "nothing" because if they do not trust management, no promise or outlook into a brighter future means anything to them, other than "oh, look, another lie".
In the end, you can report this to management and it will be their decision whether they want to implement a new strategy to motivate their employees, or continue and replace people or even the whole team.
This does not seem to be a specific Scrum problem, you cannot really solve it with Scrum tools.