Massive software layoffs have been common for as long as I can remember. I think it’s not that big of an issue to explain why you are looking for a job in that field. Oh your last job was xxx ahh they laid off x number of employees.
It’s not a secret that most of the people laid in these things are just people on the wrong teams and nothing to do with their capabilities