When the writing goes from relatively tight and believable to nonsensical there is no other explanation than low effort on writing. Not saying the writers are fantastic but the presence of some good writing means they are capable of making good stories and the decline means somewhere along the line they picked the easy route of changing the writing to get the game out without adequately thinking about the consequences or plot problems