He knew she was going to go fight and that it was dangerous. He didn't want her there because he knew he well enough to know she would fight and be in danger.
I think you are mistaken dude, Harry was upset to see her, because she was in danger of death. In Chamber of Secrets, he was also upset to see her, but he was SCARED, SCARED that she was dead already. Upset would be more of an understatement.So calm down, Harry's not some jerk, and he doesn't just like her 'cause she's pretty, kay? He mentions, repeatedly, that he loves her 'cause she's smart, down to earth, strong and a rockin' Quidditch player, to him her being pretty is just a plus. If you can remember him thinking that, then you'd think you could remember him thinking this. If I were you, I'd calm down and not rush to irrational conclusions, kay?-Me