Question about my yucca palm

I’ve had this plant for 9 months now. Leaves used to be a bright green. I water it moderately every couple of weeks. Lately it’s turned yellow and wilting. Leaves are no longer sharp. which means either under watering or…