Why do I get lines on my face when I cry hard?

Crying. Crying is a process that involves expression as an integral part. Expression involves facial muscles and this is the cause of the "lines" you mention.