Crying while nursing

My daughter just turned six months old and in the past few weeks she will nurse for a minute or too then unlatch and cry. I've tried burping her but she doesn't burp, and I've put her down but she IS hungry. I think she might be teething, is this the problem? Any ideas on what is going on? Thanks!