Cain had a decent AB, struck out on a good pitch. probably trying to swing too hard, sure.
Morales clearly could not pick up the illegal pitcher's throwing motion. he took the first two strikes and was visibly like "yeah i have no F'ing idea" and at that point there was no way he was going to get a hit on any subsequent pitch.