The correct answer is D. no article.
The word "bad luck" is a non-count noun, which means it does not have a plural form and does not take a determiner (such as an article). Other examples of non-count nouns are "water", "sand", and "love".
In the sentence "We were very unfortunate. We had bad luck", the word "bad luck" is the direct object of the verb "had". The direct object is the person or thing that receives the action of the verb. In this case, the direct object is "bad luck", which is the thing that the people in the sentence received.
If the word "bad luck" were a count noun, it would take an article. For example, if we were talking about a specific instance of bad luck, we might say "We had a bad luck streak" or "We had an unlucky day". However, in this sentence, we are not talking about a specific instance of bad luck. We are simply saying that the people in the sentence had bad luck in general. Therefore, we do not need to use an article.