At A: A is a high point of the track. The ball has a large potential energy and, being slowest there, a small kinetic energy.
From A to B: As the ball rolls down, its height decreases, so potential energy decreases and kinetic energy increases. At B, the lowest point between A and C, potential energy is minimum and kinetic energy is maximum.
From B to C: As the ball climbs, kinetic energy changes back into potential energy. At C the potential energy is again large and the kinetic energy small.
Why C, D and E are lower: If there were no friction, the mechanical energy (kinetic + potential) would stay constant and the ball could rise again to its starting height. In reality, friction between the ball and the track (and air resistance) does negative work on the ball, so part of its mechanical energy changes into thermal energy (and some sound) at every stage. With less mechanical energy left, the ball can only rise to a smaller height, so each later point (C, D, E) must be lower than the previous one for the ball to go over it.
Yes, it is because of the energy lost due to friction.