Direct answer
An own goal contributes to the team score credited by the official result. An individual goalscorer prop may explicitly exclude own goals. These markets use different settlement definitions.
What to check
Compare the official scoreline with the sportsbook’s named-scorer rule. Also check the period if the market says first half or regulation only.