Dollars to doughnuts, you've got a leaking roof. Next time it rains, go up into your attic with a flashlight. Look at the area above the spot that leaks. You will probably see where the water is coming in. If you're lucky, you can patch the roof and replace the damaged drywall. If not, well, be prepared to spend money.