There were multiple options and some of it depending on the type of exam and the students preference. Some of the exams (typically essay based) allowed you to type the answer on your computer and upload the file. However, not all exams lend themselves to word processing. Science and math exams require the student to solve equations and show their work. In that case, it was better for the student to write out the answer, take a picture, and submit. Some students may also be more comfortable handwriting versus typing.
It is unfortunately that students are having to deal with these types of issues on top of having their educational life disrupted. Many AP students are seniors that have lost their proms, senior trips, and graduation ceremonies. AP exams help with college, this is just added stress of not being able to submit after completing all the effort. (FYI, there is a time limit on the exam. There is no time for students to start researching why their photo won't upload. If you don't submit your answers by the time limit, you don't get credit.)