I am so sorry to hear you are having this problem. I too had a similar problem – people rush to interview me, but I have been pipped at the post three times. Once I believe was because they realised during the interview that I was pregnant; once was because I applied for a job working with recovering addicts, and they gave the job to a recovered addict; once was because there were over 500 applicants for the job, 50 were interviewed, and the one who got the job had more experience than me.
It might be that the industry you are applying for is incredibly competitive – many people applying for the same job. If you can get feedback from the interviewers, that would be helpful. Just write to them and ask what they were looking for that you couldn't offer. I wish you luck in your future applications!