There’s a lot of ongoing debate about oils and what is or isn’t bad for you. @CandyLindTX is right about the items you named not containing trans fats. Artificial trans fats, the ones that are introduced into a food item to increase its shelf life, are unequivocably bad for you. These are things like margarine, some cookies, frostings, microwave popcorn etc. Trans fat also occurs naturally and you can find those in things like butter, fatty meat and some dairy products but their inclusion is minimal and it’s not proven to be bad for your health.
You can find 200 videos on youtube about how amazing and healthy coconut oil is and that raising your cholesterol is acutally a good thing, since it increases your HDL cholestrol (good cholesterol) ratio to LDL cholesterol (bad cholesterol), on the other hand you can find 50 videos where experts are saying CO is bad for you. The rub is… the experts telling you it’s bad usually have some affiliation with some Ivy league college that gets lots of money from corporations that sell Canola or other types of AMA approved oils. BTW, the AMA (AMerican Medical Association) gets lots of money from Corporations that want to buy their seal of approval. This is why you should be leery of anything the AMA says is good or bad since they are often politically motivated and not really concerned with what’s best for the public.
My advice is to listen to what all these “experts” have to say and do your own research to form your own conclusions. There’s tons of studies to support the idea that including good oils in your diet is heart healthy. For example, one study comparing the “Mediterranean Diet” to the AMA diet concluded that people on the Med diet have a much lower risk of heart disease than the AMA diet and the Med diet includes the regular use of olive oil.