Picasso did what he did, and created what he created because of photography. In a world where capturing likeness, and form was basically free - what do you do with painting? Certainly not attempt to capture likeness and form - perhaps you make an Ernest attempt to capture or project the emotional response of form and subject. Picasso’s facial structure was modeled after African war masks, which were at the time ignored by the art world. And his composition and color and repetition were inspired by the Japanese print makers. A lot of the art from that era was inspired by what was coming out of Japan at that time. The product of Picasso was a mashup of influences, like all impactful art.
The backlash against likeness and form was certain way before Picasso. But the fact that he rode that style to such fame is what made the art world dramatically over correct so drastically.