The gums behind the back teeth are somewhat redundant.
You may have something trapped between the gum and your back teeth, such as food. Try gargling with warm salt water, better yet, get a waterpik / sonocare. Both of these pulse water between the teeth and gum. Not getting better, go see your dentist.