When you say "re-open", do you mean open the lid, or restart?
On restart, OS X will automatically launch any app that was open when the Mac was shutdown.
Any app in the list of Login Items in System Preferences > Users & Groups will also launch at restart.
If Messages is relaunching at other times, after you have quit it, then something else is going on.