A five-year-old girl who died in a house fire in west Wales was “fascinated” by flames, an inquest has heard.