(Corrections)
Assume following statements are true
- Bob's favorite color is blue.
- Sally's favorite color is red.
- Bob and Sally always tell the truth.
I ask Bob the following question: "If you are Sally, is your favorite
color blue?"
Suppose your name is not Sally. Then it is true that if your name is Sally (assumed to be false) then your favourite colour is blue. We say that it is vacuously true in this case.
$~~~~\neg S \to (S \to B)$
Where:
$~~~~S =$ Your name is Sally
$~~~~B =$ Your favourite colour is blue
Here is the truth table:

Source: https://www.erpelstolz.at/gateway/TruthTable.html
There is no ambiguity or inconsistency here. It's just that we have an implication $(S \to B)$ with an antecedent $(S)$ that is known to be false. Such implications are simply not very useful in daily discourse since you will not be able to use that them to infer anything about the truth value of the consequent $(B)$.
Similarly, it is also vacuously true that your favourite colour is red.
$~~~~\neg S \to (S \to R)$
Where:
$~~~~R =$ Your favourite colour is red
In fact, any proposition whatsoever can be used:
$~~~~\neg S \to (S \to P)$
Where:
$~~~~P = $ Pigs can fly!
Though not very useful in daily discourse, implications that are vacuously true can be useful in very technical arguments. In set theory, for example, we have:
Proposition: For every set $A$, the empty set $\emptyset$ is a subset of $A$.
Proof: By definition, for all $x$, we have $x\notin \emptyset$. Therefore, it is vacuously true that, for all $x\in \emptyset$, we have $x\in A$.