Wrong intervals pace

I had today a suggested training of:

Interval 1 Warmup: 10 minutes at 7:00 per km

Interval 2 Run: 15 minutes at 5:45per km

Interval 3 Cooldown: 10 minutes at 7:00 per km

I ran in the interval 2 at around 5:40 per km, during the run the pace was showing fine.

Then when I checked both in the app and in the watch, the interval average time is wrong, around 6:18 per km.

You can see in the first screenshot that I was maining the required pace, and in the second how it's displaying a different pace per km.

If I look at the Adjusted Pace by Incline, it shows the right pace, 5:40 per km.

But I was running in a 400m track that is totally flat... so something is wrong here.