No you aren’t the person to ask as you clearly have no idea! 🙂
When BMX went underground in the 90’s a lot of bikes became very heavy generally to make them stronger, massive steel tubes, 3 piece cranks, hefty wheels and bars/forks. Hard street and ramp riding needed these stronger bikes. My friend had a Homeless Mack with G-Sport forks bars and hubs and I think it weighed between 40-45lbs.
Over time and especially in the last 5 years or so the “freestyle” (as opposed to race) bikes have taken on lighter tubing and changes to BB and fork systems which has kept the strength but saved a load of weight, really helping with some of the huge jumps and tricks people are able to pull. No brakes seems to be the norm as well now which will save even more. There might be the odd flatland bike which is aluminium but they are generally still all steel, albeit much better ones now.
Race bikes have always been much lighter and you will see most made of aluminium with much lighter wheels bars etc. As they are only for speed and straight smooth jumps they don’t need to be as strong – they are generally longer as well for stability (not too sure about that though)
If you want to do anything other than straight jumps you are better getting a freestyle BMX (so called trail bikes used generally for dirt jumping will be the closest to a race bike). You can do all the tricks on a race bike but you’d have to be pretty skilled and very smooth and light on it not to damage it often.
I’ll admit that all the bikes do tend to look similar nowadays since brakes have been removed and less people use pegs on freestyle bikes but you only have to ride one of each to appreciate the difference.
I know this is very simplified so don’t flame me but I hope it helps.
Your friends bike was probably still from the era of the heavier bikes at a guess.
Remember just cos it’s heavier doesn’t mean you can’t do anything on it. My friend with the 45lb BMX could bunnyhop over 3 feet high from flat. 🙂