Choose the correct sentence which is built from the words and phrases given:
She/ hurt/ learn/ boyfriend/ forget/ birthday.
A. She was hurt when learning that her boyfriend had forgotten her birthday.
B. She hurt when learning that her boyfriend had forgotten her birthday.
C. She was hurt that when learning that her boyfriend had forgotten her birthday.
D. She was hurt when learning that had her boyfriend forgotten her birthday.