You have clearly never met someone having a hypoglycemic event. It can absolutely change their personality, as significantly as a head injury.
And indeed that’s what happens with traumatic brain injuries.
The same mechanism is behind the aggression sometimes displayed by cocaine users. Cocaine tamps down brain inflammation short-term, increases it long-term.
And indeed, people with traumatic brain injuries and central nervous system inflammation tend to have more problems with cocaine abuse.