The story goes like this:
Back when computers still consisted of vacuum tubes, a system went down one day and people started investigating the cause. They found that a moth was stuck in the computer which fouled it up. When asked what was wrong the tech said "There was a bug in the computer", and since then the term has stuck.
Is that a mostly true story, and if so is that where the terms "computer bug" and "debugging" came from?