Speculative conditional: Why does it use the past tense or past perfect tense?

You seem to be confused both about terminology and tenses, so let's try to get this straight:

For present hypotheticals we use a form that is technically referred to as the subjunctive. The subjunctive is identical to the simple past in most forms, but you'll notice that it differs for the first-person singular:

If they were here, I would be happy. If I were rich, I would be happy. (Not: If I was rich.)

(Just to make things complicated, this form of the subjunctive is disappearing and many people do, in fact, say If I was rich. But for the purposes of illumination, let's treat this as a separate way of inflecting the verb.)

For past hypotheticals we use the past perfect (or pluperfect), not the "present past" that you referred to. (I've never heard the term "present past" before, and in any case I would interpret it as a reference to the present perfect, which is incorrect.) The reason for this is that the simple past is the same in almost all cases as the subjunctive, which is used for the present hypothetical.

If they had been there, I would have been happy. If I had stayed, I would have met her.

For future hypotheticals we use the simple present. This is not actually surprising, since the simple present is used for near-future events in a variety of contexts in English.

If they come, I'll be happy.

Note, however, that it's actually possible to use both the modal will and other future constructions such as going to in this construction, depending on context.

If they will reduce the price, I'll buy.

Here will retains some of its historical sense of willingness as opposed to indicating mere futurity.

If they are going to leave, then I am, too.

This is a pure future conditional. You can use going to for the future hypothetical in almost any case where you would otherwise use the simple present with no change in meaning.