just a thought, this happened to maddie--(may not be your case)
same exact thing was going on with maddie, and we thought anal glands, this went on for months. she kept chewing on her tail and it had a little sore on it (maybe from the biting and chewing) well after further investigation from my vet--maddies tail wasnt docked correctly (or maybe didnt heal right) she had a small amount of hair growing on the inside of her tail under the skin--basically like ingrowin hairs. she had to have her tail redocked.ever since we had it done, we have had no problems--and it wasnt her anal glands. like i said this may not be whats going on with tila, but might be worth having ur vet check it. hope your baby feels better soon!