Hello, Anon! Thank you for posting.
Sexual stimulation is often the same as the sucking action a baby would use at your breast and can have the same result - milk, or at least some fluid. I wouldn't worry about this (unless it suddenly keeps happening without any stimulation at all).
It sounds like your boyfriend was taken aback by the discharge - that he swallowed some of it. There is no harm to him if he did.