There usually are reasons for real estate prices that you can’t know from basic stats.
Also about the point of being unaffordable, your first listing basically doubled since the last sale a few years ago, so in relative terms things aren’t looking too good. The second one’s estimate seems to have gone down recently, which tbh in this environment makes me think there is something very wrong with the house or the area and I would research the crap out of it before even considering looking at it.