We choose the first or second conditional based on how possible we think a situation . If we believe something is possible, we choose the first conditional.
If they study, they’ll pass the test. (I think they can do it)
If they studied, they’d pass the test. (I think they probably won’t study)