I'm a casual fan except for Euros and World Cup, but I still have my opinions
There are own goals in soccer for sure, but I don't consider either of those to be one. I think if an offensive player is literally in contact with a defender who knocks it in while actively trying to prevent that offensive player from scoring, the goal should be ascribed to the offense.
I like how Basketball assigns it to the closest player, although sometimes players do deserve an own goal: