Bullied in Prison - From Angry Parent

Dear PFV. Our daughter was released from prison three weeks ago. In there she was bullied and is now at home confined to her room and hardly comes out. Her appetite is lost and we hear her crying at night. Is bullying part of the British Justice System rehabilitation programme? Because from all accounts the prison just stood back and let it happen! She was sent to prison to sort out her life and make her a better person so the system claim. In that case then why has she come out of prison a nervous wreck?