Aye very similar at my last job -- got asked a month before that if I was happy, then got given a task with a slightly weird vibe about it that noone except the CTO (also my direct manager and the HR, was small company...) seemed to know I was doing. Same amount of time for me as well, 9 months. My output wasn't great either (I'd made an error taking the job, ignoring a series of red flags the CTO was waving in front of me in favour of getting experience with a specific tech stack, which was stupid, and I p much hated my life by that point). Place had done random firings before though (designer and a business support were in one day, gone the next), so not surprised, but hey ho.