It is not a sin to doubt. Disbelief is a sin, But questioning ---sincerely seeking -- is acceptable to God. Because in the presence of God, You can ask any question you want.