It's very tough and IMHO a little unfair without knowing all the details.
Seems she had at least 2 years continuous absence out side UK and lost her ILR as a result.
The indication being that she had been in and out on visit visas since

There's likely a lot not being divulged.
She could have secured Citizenship years ago at virtually no cost.

We'll never know both sides of the story