The younger girls mother should have stopped her daughter from dating another girl before it got to them having sex together.
I think the younger girls mother knew they were having sex and could not control her daughter, so she waited until the older girl was 18 and reported it.
I don’t think they knew. A coach (maybe the basketball coach?) discovered what was going on.