Just like the "really "in english ,in different situations it has different means,you can translated it into 是吗?真的啊?the big diffrent is the tone you say it.
overall,when you believe something but it's a big surprise you use a rising tone and when you don't believe it ,you just think it's a lie,you use a falling tone .