Why does my ford focus oil filter keep on blowing rubber out?

Why does my ford focus oil filter keep on blowing rubber out?

Something inside the engine is 'venting' combustion pressures into the crankcase. You have a major problem in there: First guess would be piston rings… Do a cylinder compression test & see if you have a cylinder with low compression.

The oil filter is under pressure, the oil pump develops that pressure. There's a regulator for the oil pressure, it must be stuck closed creating far too much oil pressure. Test oil pressure, you'll find it way too high. Find regulator and repair.

Are you tightening the filter more than half a turn after the gasket contacts the seat?

Check and double-check if you have the correct oil filter. When installing, tighten the filter only hand tight. Do not use an oil filter wrench. Issue does not go away. Call a shop.

Many times the old oil filter gasket sticks to the motor flange and then the oil blows out from in between the two gaskets.

There could be an obstruction in the oil passages in side the block. If this were the case there would be other symptoms like valve clatter.
Most common cause is that the previous gasket was not removed.
Second cause is failure to tighten the filter correctly. I use "contact" (between the gasket and seating surface) plus 3/4 turn by hand.

That is normally caused by a stuck or broken oil pressure relief valve. Other cause may be wrong filter / O ring but unlikely or failing to tighten filter.though in practise these only need to be turned until they touch flange face and then one and half turns by hand. ( never use wrench to tighten unless with a torque meter set at the low values needed)
if we unsure or unable to change relief valve ( often part of oil pump assy) have a garage do it for you.

Understanding why a relatively inexpensive head gasket costs so much to replace means first realizing what it sits between. In the engine block are pistons that travel up and down in cylinder bores. The pistons are connected to rods, which in turn are connected to a spinning crankshaft from which the vehicle takes its power. Bolted to the top of the engine is the cylinder head. Inside the cylinder head are valves that open and close to let air and fuel into the cylinders and expel the spent exhaust gas.

When you change your oil filter, make sure that the old oil filter gasket is not stuck to the motor and wipe the motor clean with a clean rag.

Before you install the new oil filter, dip your finger in some new motor oil and slide it around the gasket on the new filter putting a coat of clean oil on the gasket which will insure a good seal.

Screw the new filter on and hand tighten only. Tightening the filter too much can wrinkle the gasket causing the new filter to leak and blow all your oil out of the motor.