The chief complaint is a little strange. If the temperature stimulation pain and night pain are excluded, it is suspected that the gums are injured when grinding teeth, and even the membranous gingival junction is injured, which is in line with the speculation that there is relief after taking the medicine. However, it is suggested to remove the temporary crown first and find a local photo to upload before the diagnosis can be made. This should not be pulpitis, so it doesn't involve the post-treatment of molars you mentioned.
If it is diagnosed as a gum problem, it is suggested to modify the temporary crown to cultivate the gum, and then make the porcelain crown (at least 2 weeks later).