They are just like children and they can and will 'regress' - I don't believe she is being spiteful, they really don't think like that, just that you need to 'refresh' her training memory as she is still young.
I suggest containing her and start with the potty training...again...until she is trustable