In draw.io you can only apply a fill color to closed shapes. The individual line objects don’t form a “closed polygon,” so the editor doesn’t see them as something that can be filled.
Here are your options to fix it:
In the General shape library (left toolbar), drag the triangle shape (second row, rightmost).
Resize it as needed.
You can then apply a fill color directly.
Select the Insert → Shape → Polygon tool (or use the freehand / polyline tool from the toolbar).
Click to place each vertex of the triangle.
Double-click to close the polygon.
With the polygon selected, apply a fill color.
Select all three lines.
Right-click → Arrange → Group (they’re still just grouped lines).
Unfortunately grouping alone won’t create a fill. You’d need to redraw as a polygon if you want to fill.