I see different data in Statistics and Fasting History. Why is that so?

Edited

As you might notice, the "Statistics" tab shows you the quantity of fasting time for the 24-hour day. This means that on the statistics screen you see not the number of hours of specific fasting from "Fasting history", but the number of hours of fasting hours within a day.

In order to reach the goal for the day on the statistics screen, you need to fast within one day. Also, you can always check your actual fast record in Profile > Fasting history.