I ask when I'm curious; sometimes, it's a real problem.
I answer as a hobby, to relax; sometimes, it helps someone.
Other reasons are vanity ;)