when god doesn’t make sense

Life doesn’t always go the way we expect, and we pray to God for help and guidance. But sometimes it seems like even though we pray, we don’t seem to get answers. God seems to be silent when we need to hear from Him. What happens when life doesn’t make sense and where is God?