Basal body temperature allows you to estimate hormonal changes in response to the menstrual cycle without having to blood check.
Changes in menstrual status can be due to changes in hormone secretion, but they can also be seen as other physiological changes.
Also, as your gynecologist told you, there is a possibility that you are still experiencing the effects of psychological factors, such as the unfortunate miscarriage mentioned in this question, on your hormonal balance even though you think you have overcome it.
The fact that you do not get wet during intercourse is also suspicious.
In any case, you need to find out if you are ovulating, which is both the cause and the result of the hormonal abnormality that you think is most likely.
Lubricating jelly is also an asymptomatic remedy, but if you can eliminate the pain during sex, the elimination of one of your problems will be powerful enough to improve your hormonal balance. There is no need to worry about the lube affecting the fetus.