Interactions between molecules in different states of matter