Non sequitur fallacy
From Atheism United
Literally translates to 'does not follow'. In older science fiction films, a stereotypical computer or robot response might be, "Does not compute."
The conclusion simply has no logical connection to the premises. This is perhaps the most general of all fallacies.
Example: "Fucking magnets! How do they work‽ ... Therefore god."
Technically, the example is also an argument from incredulity, argument from ignorance, and a god of the gaps fallacy, but it also fits as a non sequitur fallacy simply because it makes no fucking sense.