An example of anthropomorphism in popular science writing:
"A photon hitting the inside surface of a window somehow knows how thick the glass is and acts accordingly. There's something similar to entanglement happening here, a kind of action at a distance by which the photon knows how thick the glass is without passing through it…"
Brian Clegg
Clegg, B. (2015). Light Years. The extraordinary story of mankind's fascination with light. Icon.
Read examples of anthropomorphism in science
Many examples of anthropomorphism are listed in 'Creative comparisons: Making science familiar through language. An illustrative catalogue of figurative comparisons and analogies for science concepts'. Free Download.