On a molecular level, I believe it disrupts the formation of a crystal lattice structure, so more heat needs to be removed to attain that structure (why freezing point decreases). Some people say boiling point increases because of increased molecular interactions, but I don't think that's necessarily always true, especially if the solute's polarity is very similar to the solvent it's dissolved in. I was told the reason for increased boiling point had to do with increased entropy of the solvent, so it's more thermodynamically stable and therefore, for the liquid to evaporate into gas molecules, more energy must be put in to disrupt that stability.