Q.Star of Bethlehem plant
I purchase this plant and it had white flowers when I got it however it took a while before it was planted in a flower bed the stems of white flowers were very pretty and the scent was great how ever now the plant is dropping over and has yellow flowers that look like they are blooming from a seed pod. Is how it is suppose to grow?? Also after reading the articles on this plant I may dig it up and put in a container. If I do will the plant come back next year
This link will refresh you on the care requirements.
https://www.gardeningknowhow.com/ornamental/bulbs/star-of-bethlehem/star-of-bethlehem-plant-care.htm
It does sound like yours developed a seed pod. You can remove it if you like and cut down the spent flower stems.