The sentence that shows an appropiate and correctly punctuated relationship between clauses is the following:
C, The students are studying because they have a test tomorrow.
The punctuation should not break the relationship between a conjunction and the clause it introduces. Thus, A and B display an incorrect punctuation as they place a comma between because and the clause "they have a test tomorrow".
Furthermore, punctuation marks should not separate the primary clause, in this case "The students are studying", and the conjuction "because", which is the error on both B and D. One can use semicolons with other conjuctions, like adversative conjunctions but not with the subordinating conjunction "because".