Not all keto diets are the same: in a mouse study, a palm oil keto diet higher in long-chain saturated fats caused inflammation in the heart, kidneys, liver, brain and fat, whereas a coconut oil keto diet with fewer of them did not. The type of fat, not ketosis itself, appears to drive the harm.
Not all ketogenic diets have the same effects.