According to Wikipedia she was born in Britain and a British citizen, but i am not aware of all the ins and outs of her case
This is quite a recent change in the law. Prior to 2014 they could only strip citizenship if you applied and received it without having a right to it (e.g. if you were born abroad to non-British parents). After 2014 naturalised citizens (like Begum) were also liable.
I do think it is a bad law and she is being treated disgracefully. There's still hope the ECHR will sort it.