We always use 因为or 由于when someone asks you "why ......"
For example "why are you late?"
You may say "becaues of the terrible traffic "
In chinese “因为堵车(traffic jam)了”“由于堵车了” they are both right.
But we seldom use 由于when we are speaking. In other word ,if you just want to explain something orally , use因为 is okay.