What is the difference between human factors and UX design?

I appreciate that this question might not have a well defined scope but i am hopping that providing a context might help. So consider the aviation industry ( often associated with Human factor) as an example, but this could be applied to other industries such as rail, transport or others.

I have always been struck by the complexity of cockpit controls. Aviation specialists are always on the hunt for ways to reduce cognitive overload on pilots in order to reduce human error. That being said. air crash investigations have proven on a number of incidents that labelling, controls interactivity, affordances and other interface design issues impact on how pilots operate. So, I have few questions:

1- How do human factor specialists and user experience designers differ?

2- How does this apply when it comes to designing for other real life situations for example in avionics?

3- If UX and human factor specialists don't different that much. has anyone came across a situation where user experience skills were utilised within the aviation industry?