My friend got the American opportunity tax credit and is under 24, did she do something wrong?

She did work some of 2015, but not now. She is also and independent.