@Carl Poster earlier said student is their dependent. So, the student cannot claim the education credit, even if he otherwise needed to file a tax return