Yeah, that really sounds weird considering games is their core business and now they're doing layoffs after just purchasing WETA that's kind of outside the core business.
I think they realized that 1) It's difficult to compete with Epic for high-end game development, and 2) Middle-Low end game development is probably not to grow much, because the maximum number of successful game dev teams is most likely a fixed X, or a slowly growing X, so eventually they decided to cut anything that is not core and try to grow other fields. Stock market needs fast growing things.