They are thought to have written both documents. What are you talking about ?
The author of Mark was a disciple of Peter .. of Luke a disciple of Paul
We have no clue who the Author of Ephesians is .. we do know that Paul's name was ascribed to the work .. but there is general agreement he was not the Author of this work dated (80-100AD) as he had been dead for 2 decades.
Ephesians
Much scripture came out of the period just after the destruction of the Temple - and this was one of them.
And Paul addresses his readers like always in
Ephesians 1
Paul, an apostle of Christ Jesus by the will of God,
To God’s holy people in Ephesus, the faithful in Christ Jesus:
2 Grace and peace to you from God our Father and the Lord Jesus Christ.
1 Corinthians 1
Paul, called to be an apostle of Christ Jesus by the will of God, and our brother Sosthenes,
2 To the church of God in Corinth, to those sanctified in Christ Jesus and called to be his holy people, together with all those everywhere who call on the name of our Lord Jesus Christ—their Lord and ours:
3 Grace and peace to you from God our Father and the Lord Jesus Christ.
Galatians 1
Paul, an apostle—sent not from men nor by a man, but by Jesus Christ and God the Father, who raised him from the dead— 2 and all the brothers and sisters with me,
To the churches in Galatia:
3 Grace and peace to you from God our Father and the Lord Jesus Christ,
Romans 1
Paul, a servant of Christ Jesus, called to be an apostle and set apart for the gospel of God— 2 the gospel he promised beforehand through his prophets in the Holy Scriptures 3 regarding his Son, who as to his earthly life was a descendant of David, 4 and who through the Spirit of holiness was appointed the Son of God in power by his resurrection from the dead: Jesus Christ our Lord. 5 Through him we received grace and apostleship to call all the Gentiles to the obedience that comes from faith for his name’s sake. 6 And you also are among those Gentiles who are called to belong to Jesus Christ.
7 To all in Rome who are loved by God and called to be his holy people:
Grace and peace to you from God our Father and from the Lord Jesus Christ.
Philippians 1
Paul and Timothy, servants of Christ Jesus,
To all God’s holy people in Christ Jesus at Philippi, together with the overseers and deacons:
2 Grace and peace to you from God our Father and the Lord Jesus Christ.
Colossians 1
Paul, an apostle of Christ Jesus by the will of God, and Timothy our brother,
2 To God’s holy people in Colossae, the faithful brothers and sisters in Christ:
Grace and peace to you from God our Father
1 Thessalonians 1
Paul, Silas and Timothy,
To the church of the Thessalonians in God the Father and the Lord Jesus Christ:
Grace and peace to you.
Titus 1
Paul, a servant of God and an apostle of Jesus Christ to further the faith of God’s elect and their knowledge of the truth that leads to godliness— 2 in the hope of eternal life, which God, who does not lie, promised before the beginning of time, 3 and which now at his appointed season he has brought to light through the preaching entrusted to me by the command of God our Savior,
4 To Titus, my true son in our common faith:
Grace and peace from God the Father and Christ Jesus our Savior.
Beginning to see a pattern of the Apostle Paul yet ?