Basically, to over-simplify severely, instead of taking criticism as a way to improve, she took it as an attack, which I think was part of what made Theranos insular, overprotective. It would be a bridge too far to link it to the cheating.
Anyway here are some references:
https://fortune.com/2015/12/10/elizabeth-holmes-sexism-thera...
https://www.rollingstone.com/culture/culture-features/elizab...
https://www.forbes.com/sites/hannahart/2019/03/31/womens-his... (mainly a summary with links to other articles)