On paper the UK house of commons can pass a bill. In reality bills are driven by the executive. The same executive that (until brexit) drove the bills via appointing the EU commissioner and being the EU council.
The reason that EU Parliament can't pass bills is because constituent governments don't want to lose power to parliament.
The reason that EU Parliament can't pass bills is because constituent governments don't want to lose power to parliament.