I think they are supposed to be bad for you in very early pregnancy (ie even before AF due) as raising one's body temperature can lead to an increased risk of spina bifida in the fetus.
https://www.babycentre.co.uk/pregnancy/isitsafeto/hotbathsexpert/
So if you could be pregnant, even if only in first few weeks, its best to avoid.