The word because is a subordinating conjunction. However, when combined with of, it becomes a preposition. It works as an adverbial prepositional phrase when used with other words to modify a verb.
Due to is an adjective, which describes or modifies a noun. When combined with the rest of the sentence, it functions as an adjectival prepositional phrase. You can’t use due to in the same way as because of.