This is partly true. During inflation, the universe was vacuum; all of the energy was in the "false vacuum" state of whatever field caused inflation (it's usually called the "inflaton" field, which IMO is a very confusing name). When inflation ended, all of that energy got transferred to the Standard Model fields, forming matter and radiation at very high temperature and expanding very rapidly.
So the "all energy at first" part is true; but the "had to slow down to become mass" part is not. The matter and radiation was there as soon as inflation ended; it didn't have to slow down first.
A single photon cannot have mass because it has zero energy in the reference frame where it is at rest (zero net momentum). But a pair of non-parallel photons can have rest-mass, and indeed the mass of the photons inside a star is considerable, for example.
I didn't catch this before, but it is not correct. There is no such thing as a frame in which a photon is at rest.
Not if you're talking about what the source of gravity (spacetime curvature) is. Massless particles still have energy and still cause spacetime curvature.
Yes, but not in a context where radiation is present, since radiation can have energy but has no rest mass (rest energy).
It does. So do pressure and stresses. The full "source" of gravity in General Relativity is the stress-energy tensor, which includes all of these things.
If there was no mass then what made the energy slow down?
For example a photon will travel at the speed of light in a vacuum indefinitely.
In what scenario does energy just slow down without interacting with matter?
Another possibility is that black holes are places where lots of mass accumulates in the same place in space, while the big bang was a rapid expansion of space itself. Even if there was enough mass in one spot to be what we'd consider a black hole, the space it occupied expanded, dragged the mass along with it, and ripped the black hole apart.