This phrase means that God can make situations that can seem unexpected and funny, or strange, due to the irony or timing of them. It suggests that God’s sense of humor transcends human understanding. It can mean that God is capable of making jokes or plans that people cannot predict. It could also mean that God can cause unexpected outcomes that result in people being shocked or surprised.