2. The system selected Pennsylvania as an important target.
Apparently it wasn't the choice of PA as an "important" target, but overfit of its importance to that of other key states (e.g. in the rust belt) which may have been at fault. Like the article says:
But it appears that the importance of other states Clinton would lose — including Michigan and Wisconsin — never became fully apparent or that it was too late once it did.