One thing that happened to me, is that I had a print job pending on my macbook. I never realized it, but that cause my fan to run incredibly fast, making a lot of noise. Im sure this is probably not what happened to you, but something as simple as that can be a cause.