It costs energy to make. Im not sure really if its net positive overall but its enough that the moon is talked about for its tritium deposits which makes me think its not very easy to make. wikipedia has some stuff on it but its hard to get overall. Anyway though its not some magical unlimited energy. it has inputs and outputs like anything else.