I don't think it should be obvious. If you could measure spectra, that would tell you that starlight and sunlight are the same, but you could still think they were very tiny suns that were near. You would need to measure parallax to know they were far away. Neither of these are possible without precision technology, though you could probably argue that it could have been done in ancient times with enough effort.
Maybe if the solar system had more than one star, or there were other stars very close, people would have caught on a lot quicker.
This is so true. There is an awesome Terry Tao / 3blue1brown collaboration that explicates the epistemological basis: Terence Tao on the cosmic distance ladder
Pt 1: https://www.youtube.com/watch?v=YdOXS_9_P4U
Pt 2: https://www.youtube.com/watch?v=hFMaT9oRbs4
Commentary and Corrections: https://terrytao.wordpress.com/2025/02/13/cosmic-distance-la...