You are being way too hard on yourself. I honestly don't think she is "rejecting" you. All children go through stages of turning more to one parent than the other. It doesn't matter who stays home or who works or who sees them more. Just keep letting her know you love her....don't stop that. One day soon she will be back to hugging you and wanting to sit next to you.
Good luck and take care!