M.D.
T., your dear daughter is not really mean inside. She is just acting out the family's deep sadness that a loved one is missing from the family circle. It is her fear that is making her seem mean. You can help her in her sadness and fear that talking about what scares her and you all is fine.
Instead of punishing her, tell her that you and your family are all hurting. It will lighten her burden if you can model for her the way to talk about these things.
If you can, plan a time several times a week when you just talk about all the good and bad things that have happened each day. This way, she can have a regular time to feel listened to and to listen to the rest of the family talk about their day-- both happy and sad. This talking and listening time is a privilege.
I hope that this will help and that your husband's deployment passes quickly and that he comes home safe and sound soon.
M.